package cn.bobdeng.spc.mainserver.security;

import lombok.Data;

import javax.validation.constraints.Size;

@Data
public class ChangePasswordForm {
    @Size(min = 6, max = 15, message = "密码长度6-15")
    private String oldPassword;
    @Size(min = 6, max = 15, message = "密码长度6-15")
    private String newPassword;
}
